diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-11-07 09:31:35 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-07 09:31:35 -0800 |
commit | 6b2193f804b3412eef476a834a7627d5a10da439 (patch) | |
tree | 53306da4301083a1d2ef1e15449cf69dfb7e3f48 | |
parent | aef7803ebf8704b90e310edabfa4d13f3e1cb0a0 (diff) |
Moved include file check to src/CMakeLists.txt.
-rw-r--r-- | CMakeLists.txt | 5 | ||||
-rw-r--r-- | src/CMakeLists.txt | 3 |
2 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 88b1c81..c42ee90 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,8 +12,7 @@ set(PROJECT_VERSION_MINOR 0) set(PROJECT_VERSION_PATCH 1) set(PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH} ) -include (CheckIncludeFile) -CHECK_INCLUDE_FILE (stdbool.h HAVE_STDBOOL_H) +add_subdirectory(src) set(CMAKE_BUILD_TYPE Release) @@ -89,8 +88,6 @@ install(DIRECTORY include DESTINATION . # DESTINATION include/${PROJECT_NAME} # COMPONENT devel) -add_subdirectory(src) - set(CPACK_GENERATOR TGZ ZIP) if(WIN32 AND NOT CYGWIN) set(CPACK_GENERATOR NSIS ${CPACK_GENERATOR}) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b961ff7..ad94587 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -68,3 +68,6 @@ install(TARGETS ${PROGRAM} ${LIBRARY} if(UNIX) INSTALL(FILES ../man/man1/cmark.1 DESTINATION share/man/man1) endif(UNIX) + +include (CheckIncludeFile) +CHECK_INCLUDE_FILE (stdbool.h HAVE_STDBOOL_H)
\ No newline at end of file |