Skip to content

Commit

Permalink
Fix test compilation.
Browse files Browse the repository at this point in the history
Tests that were in subfolders were not compiled, this chage causes the
to compile and get test.
  • Loading branch information
IYP-Programer-Yeah committed Apr 19, 2019
1 parent 1f2ef8e commit d28025a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Projects/CMake/Test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ project(Test CXX)
include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR})
include_directories(${LOCAL_INCLUDE_DIR})

file(GLOB CPP_FILES ${REPO_ROOT}/${PROJECT_NAME}/Source/*.cpp)
file(GLOB_RECURSE CPP_FILES ${REPO_ROOT}/${PROJECT_NAME}/Source/*.cpp)
add_executable(${PROJECT_NAME} ${CPP_FILES})
target_link_libraries(${PROJECT_NAME} gtest gtest_main MDP Utility)

Expand Down

0 comments on commit d28025a

Please sign in to comment.