Skip to content

Commit 4d1ba79

Browse files
authored
Merge pull request #171 from hunter-packages/lapacke_add_include
lapacke: add include directory to target
2 parents 8ebb7f3 + 8feb2cd commit 4d1ba79

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

LAPACKE/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ set_target_properties(
6060
VERSION ${LAPACK_VERSION}
6161
SOVERSION ${LAPACK_MAJOR_VERSION}
6262
)
63+
target_include_directories(lapacke PUBLIC
64+
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include>
65+
$<INSTALL_INTERFACE:include>
66+
)
6367

6468
if(LAPACKE_WITH_TMG)
6569
target_link_libraries(lapacke PRIVATE tmglib)

0 commit comments

Comments
 (0)