Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMATH_INSTALL_PKG_CONFIG is on by default, even on Windows #349

Merged
merged 1 commit into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion config/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ if(IMATH_INSTALL_PKG_CONFIG)
)
endfunction()
imath_pkg_config_help(Imath.pc.in)
message(STATUS "Imath pkg-config generation enabled")
else()
message(STATUS "pkg-config generation disabled")
message(STATUS "Imath pkg-config generation disabled")
endif()

#
Expand Down
3 changes: 1 addition & 2 deletions config/ImathSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,11 @@ set(IMATH_PACKAGE_NAME "Imath ${IMATH_VERSION}${IMATH_VERSION_RELEASE_TYPE}" CAC

# Whether to generate and install a pkg-config file Imath.pc on
if(WIN32)
option(IMATH_INSTALL_PKG_CONFIG "Install Imath.pc file" OFF)
option(IMATH_INSTALL_SYM_LINK "Create symbolic links for shared objects" OFF)
else()
option(IMATH_INSTALL_PKG_CONFIG "Install Imath.pc file" ON)
option(IMATH_INSTALL_SYM_LINK "Create symbolic links for shared objects" ON)
endif()
option(IMATH_INSTALL_PKG_CONFIG "Install Imath.pc file" ON)

#
# Build related options
Expand Down
Loading