Skip to content

Commit b666d3d

Browse files
authored
Debug patch CppInterOpConfig.cmake.in
1 parent 7a38391 commit b666d3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/CppInterOp/CppInterOpConfig.cmake.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ get_filename_component(CPPINTEROP_INSTALL_PREFIX "${CPPINTEROP_INSTALL_PREFIX}"
1010
include(CMakeSystemSpecificInformation)
1111

1212
### build/install workaround
13-
if (BUILD_SHARED_LIBS)
13+
if (@BUILD_SHARED_LIBS@ STREQUAL "ON")
1414
set(__lib_suffix ${CMAKE_SHARED_LIBRARY_SUFFIX})
1515
set(__lib_prefix ${CMAKE_SHARED_LIBRARY_PREFIX})
1616
else()
1717
set(__lib_suffix ${CMAKE_STATIC_LIBRARY_SUFFIX})
1818
set(__lib_prefix ${CMAKE_STATIC_LIBRARY_PREFIX})
19-
endif(BUILD_SHARED_LIBS)
19+
endif()
2020

2121
if (IS_DIRECTORY "${CPPINTEROP_INSTALL_PREFIX}/include")
2222
set(_include "${CPPINTEROP_INSTALL_PREFIX}/include")

0 commit comments

Comments
 (0)