Skip to content

Commit

Permalink
Update CMakeLists.txt again
Browse files Browse the repository at this point in the history
  • Loading branch information
samp-incognito committed Oct 24, 2018
1 parent b3d1c97 commit 46ab18b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ set(PLUGIN_VERSION "2.9.3")

list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/lib/cmake-modules")
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/lib/eigen/cmake")

set(SAMP_SDK_ROOT "${PROJECT_SOURCE_DIR}/lib/samp-plugin-sdk")
find_package(SAMPSDK REQUIRED)
Expand All @@ -26,7 +27,6 @@ if(EIGEN3_INCLUDE_DIR)
list(APPEND CMAKE_MODULE_PATH "${EIGEN3_INCLUDE_DIR}/cmake")
else()
set(EIGEN3_INCLUDE_DIR "${PROJECT_SOURCE_DIR}/lib/eigen")
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/lib/eigen/cmake")
endif()

find_package(Eigen3 3.3.4 REQUIRED)
Expand Down

0 comments on commit 46ab18b

Please sign in to comment.