Teseo (#934)
* fixed unit test * partial revert of cmake glob * Update CMakeLists.txt * Update CMakeLists.txt * Update CMakeLists.txt * Update CMakeLists.txt * Update CMakeLists.txt
This commit is contained in:
@@ -143,7 +143,7 @@ function(igl_download_test_data)
|
||||
DOWNLOAD_DIR ${LIBIGL_EXTERNAL}/.cache/test_data
|
||||
QUIET
|
||||
GIT_REPOSITORY https://github.com/libigl/libigl-tests-data
|
||||
GIT_TAG bdb158c9695d5932bb6fc1cde078d8210bb13436
|
||||
GIT_TAG c81bb3b3db4cfd78bac6d359d845c45bc1059c9a
|
||||
)
|
||||
endfunction()
|
||||
|
||||
|
||||
@@ -1,14 +1,9 @@
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
project(libigl_tests)
|
||||
message(STATUS "CMAKE_C_COMPILER: ${CMAKE_C_COMPILER}")
|
||||
message(STATUS "CMAKE_CXX_COMPILER: ${CMAKE_CXX_COMPILER}")
|
||||
|
||||
### conditionally compile certain modules depending on libraries found on the system
|
||||
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/../cmake)
|
||||
#find_package(CGAL QUIET COMPONENTS Core)
|
||||
find_package(MATLAB QUIET)
|
||||
find_package(MOSEK)
|
||||
|
||||
|
||||
### Adding libIGL: choose the path to your local copy libIGL
|
||||
if(NOT TARGET igl_common)
|
||||
include(libigl)
|
||||
@@ -23,7 +18,7 @@ set(IGL_TEST_DATA ${LIBIGL_EXTERNAL}/../tests/data)
|
||||
### Download Google unit test framework.
|
||||
igl_download_googletest()
|
||||
|
||||
SET(TEST_ROOT_DIR ${CMAKE_CURRENT_LIST_DIR})
|
||||
SET(TEST_ROOT_DIR ${CMAKE_CURRENT_LIST_DIR})
|
||||
INCLUDE_DIRECTORIES(${TEST_ROOT_DIR})
|
||||
|
||||
# Set TEST_DIR definition
|
||||
|
||||
Reference in New Issue
Block a user