Skip to content

Commit

Permalink
removed in source build check from cmake build file
Browse files Browse the repository at this point in the history
this check was previously needed because the project string.h file
conflicted with the system string.h file; the project file no longer
exists and the system file is not used anymore
  • Loading branch information
thunder422 committed Dec 1, 2012
1 parent f4a35bb commit 2660228
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions CMakeLists.txt
Expand Up @@ -107,11 +107,7 @@ endif (NOT WIN32)

# add the binary tree to the search path for include files
# so that ibcp_config.h, autoenums.h, test_names.h can be found
# which is not necessary for in source build
string(COMPARE NOTEQUAL ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} OUT_SOURCE)
if (OUT_SOURCE)
include_directories("${PROJECT_BINARY_DIR}")
endif (OUT_SOURCE)
include_directories("${PROJECT_BINARY_DIR}")


# custom target
Expand Down

0 comments on commit 2660228

Please sign in to comment.