Skip to content

Commit 9e72bf3

Browse files
Fix pkgconfig installation in the case of non-build-installer mode (#305)
This addresses the #304.
1 parent a851f6f commit 9e72bf3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ install(TARGETS ze_loader
7474
NAMELINK_COMPONENT ${SDK_COMPONENT_STRING}
7575
)
7676

77-
if(!BUILD_INSTALLER)
77+
if(NOT BUILD_INSTALLER)
7878
file(RELATIVE_PATH pkgconfig_prefix "${CMAKE_INSTALL_FULL_LIBDIR}/pkgconfig" "${CMAKE_INSTALL_PREFIX}")
7979
file(RELATIVE_PATH pkgconfig_include_dir "${CMAKE_INSTALL_PREFIX}" "${CMAKE_INSTALL_FULL_INCLUDEDIR}")
8080
file(RELATIVE_PATH pkgconfig_lib_dir "${CMAKE_INSTALL_PREFIX}" "${CMAKE_INSTALL_FULL_LIBDIR}")

0 commit comments

Comments
 (0)