diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-10-31 22:18:25 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-10-31 22:18:25 +0000 |
commit | f49044c9886accc91dfd29056241da3b48324640 (patch) | |
tree | 8dfdcde8753fdd926a812430c98970282fa22bbc /CMakeLists.txt | |
parent | f776df6076725d14679b31168e3ede53c966182e (diff) | |
download | YAGE-f49044c9886accc91dfd29056241da3b48324640.tar.gz YAGE-f49044c9886accc91dfd29056241da3b48324640.zip |
Moving to core, fixing errors
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 75379d19..7a3abb66 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,10 +23,10 @@ find_package(OpenGL REQUIRED) include(${CMAKE_CURRENT_SOURCE_DIR}/lib/CMakeLists.txt) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/yage) -add_executable(simplegame tests/simplegame.cpp) -target_link_libraries(simplegame yage) - if($ENV{UNIT_TESTS}) + add_executable(simplegame tests/simplegame.cpp) + target_link_libraries(simplegame yage) + # enable tests enable_testing() set(SIMULATION_RUNS 1000) |