Skip to content

Commit

Permalink
unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
dxli committed Sep 1, 2023
1 parent 21e3c20 commit 9f2f89b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions unittest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ message("***** LibreCAD unit tests *****")
set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")

set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTORCC ON)


# Eigen 3
find_package(Eigen3 REQUIRED)
Expand Down Expand Up @@ -187,4 +189,7 @@ include_directories("${CMAKE_SOURCE_DIR}/third_party")
include_directories("${CMAKE_SOURCE_DIR}/third_party/kaguya/include")
add_executable(lcunittest ${src} ${hdrs})
target_link_libraries(lcunittest lckernel lcviewernoqt gtest ${EXTRA_LIBS} ${CMAKE_THREAD_LIBS_INIT} ${Boost_LIBRARIES})
if (MSVC)
target_link_libraries(lcunittest lcUI)
endif()

0 comments on commit 9f2f89b

Please sign in to comment.