Skip to content

Commit 47ce8d2

Browse files
authored
Fix typo in if related to Eigen3::Eigen target and bump version to 0.10.1
1 parent b180d03 commit 47ce8d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ cmake_minimum_required(VERSION 3.5)
1111

1212
project(BayesFilters
1313
LANGUAGES CXX
14-
VERSION 0.10.0)
14+
VERSION 0.10.1)
1515

1616
set(CMAKE_CXX_STANDARD 11)
1717

src/BayesFilters/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ set_target_properties(${LIBRARY_TARGET_NAME} PROPERTIES VERSION ${${PROJEC
155155

156156
target_include_directories(${LIBRARY_TARGET_NAME} PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
157157
"$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/${CMAKE_INSTALL_INCLUDEDIR}>")
158-
if(NOT TARGET Eigen3)
158+
if(NOT TARGET Eigen3::Eigen)
159159
target_include_directories(${LIBRARY_TARGET_NAME} PUBLIC ${EIGEN3_INCLUDE_DIR})
160160

161161
target_link_libraries(${LIBRARY_TARGET_NAME} PUBLIC Threads::Threads ${CMAKE_THREAD_LIBS_INIT})

0 commit comments

Comments
 (0)