Skip to content

Commit 820971c

Browse files
emiliojEmilio
andauthored
Change paraconf_f90->paraconf linking from INTERFACE to PUBLIC (#3)
It was causing linking issues in MacOS Co-authored-by: Emilio <[email protected]>
1 parent ef11378 commit 820971c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paraconf/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ install(FILES include/paraconf.h "${paraconf_BINARY_DIR}/paraconf_export.h"
116116

117117
if("${BUILD_FORTRAN}")
118118
add_library(paraconf_f90 src/fortran/paraconf.f90)
119-
target_link_libraries(paraconf_f90 INTERFACE paraconf)
119+
target_link_libraries(paraconf_f90 PUBLIC paraconf)
120120
target_include_directories(paraconf_f90
121121
PUBLIC "$<BUILD_INTERFACE:${paraconf_SOURCE_DIR}/include>"
122122
INTERFACE "$<BUILD_INTERFACE:${paraconf_BINARY_DIR}/fmoddir/>")

0 commit comments

Comments
 (0)