Placed the if in the wrong place.
This commit is contained in:
parent
7e2221f38f
commit
6c437cce36
@ -380,8 +380,6 @@ if(BUILD_TESTS)
|
||||
|
||||
add_executable(${the_target} ${test_srcs} ${test_hdrs})
|
||||
|
||||
endif(BUILD_TESTS)
|
||||
|
||||
if(PCHSupport_FOUND AND USE_PRECOMPILED_HEADERS)
|
||||
set(pch_header ${CMAKE_CURRENT_SOURCE_DIR}/test/test_precomp.hpp)
|
||||
if(${CMAKE_GENERATOR} MATCHES "Visual*" OR ${CMAKE_GENERATOR} MATCHES "Xcode*")
|
||||
@ -416,3 +414,4 @@ add_test(${the_target} "${LOC}")
|
||||
if(WIN32)
|
||||
install(TARGETS ${the_target} RUNTIME DESTINATION bin COMPONENT main)
|
||||
endif()
|
||||
endif(BUILD_TESTS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user