CMake: Replace include_directories with target_include_directories
This commit is contained in:
@@ -9,7 +9,9 @@ add_library(Sketcher SHARED)
|
||||
|
||||
# set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DEIGEN_NO_DEBUG") # Necessary to avoid SparseQR crash with Eigen 3.2 due to a wrong assertion
|
||||
|
||||
include_directories(
|
||||
target_include_directories(
|
||||
Sketcher
|
||||
PRIVATE
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}/src
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
|
||||
Reference in New Issue
Block a user