diff options
author | Brad King <brad.king@kitware.com> | 2014-01-07 20:58:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-02-14 20:48:41 (GMT) |
commit | a6e4a95d6c6fb7ae4a91dff94763a9577f57d81e (patch) | |
tree | 9d0e4c33d58f5d0eaca137718aecc462fcd201e3 /CMakeLists.txt | |
parent | 8ffc22bdd0ec08598fc162e15bb416d51124087e (diff) | |
download | CastXML-a6e4a95d6c6fb7ae4a91dff94763a9577f57d81e.zip CastXML-a6e4a95d6c6fb7ae4a91dff94763a9577f57d81e.tar.gz CastXML-a6e4a95d6c6fb7ae4a91dff94763a9577f57d81e.tar.bz2 |
Compute resource directory on startup
Add a findResourceDir function to locate resources relative to the
executable location at the start of main and a getResourceDir
function to lookup the result later.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 37a0d1b..81a2151 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,6 +35,8 @@ endif() set(KWSYS_NAMESPACE cxsys) set(KWSYS_USE_Encoding 1) +set(KWSYS_USE_RegularExpression 1) +set(KWSYS_USE_SystemTools 1) set(KWSYS_HEADER_ROOT ${CastXML_BINARY_DIR}/src) add_subdirectory(src/kwsys) include_directories(${KWSYS_HEADER_ROOT}) |