Skip to content

Commit

Permalink
CMake for Windows ...
Browse files Browse the repository at this point in the history
  • Loading branch information
jwuttke committed Mar 27, 2019
1 parent 3d0a09d commit a8e60be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ set(unit_tests

foreach(app ${unit_tests})
add_executable(${app} ${app}.c)
add_test(NAME ${app} COMMAND ${CMAKE_CURRENT_BINARY_DIR}/${app})
add_test(NAME ${app} COMMAND ${app})
target_include_directories(${app} PRIVATE ${CMAKE_CURRENT_BINARY_DIR} ${lmfit_SOURCE_DIR}/lib)
target_link_libraries(${app} ${lmfit_LIBRARY})
endforeach()

# functional tests
add_test(curve1 ${CMAKE_CURRENT_BINARY_DIR}/../demo/curve1)
add_test(surface1 ${CMAKE_CURRENT_BINARY_DIR}/../demo/surface1)
add_test(NAME curve1 COMMAND curve1)
add_test(NAME surface1 COMMAND surface1)

0 comments on commit a8e60be

Please sign in to comment.