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

install FILES given no DESTINATION! : on WINDOWS #57

Closed
hanbollar opened this issue Jan 26, 2023 · 1 comment
Closed

install FILES given no DESTINATION! : on WINDOWS #57

hanbollar opened this issue Jan 26, 2023 · 1 comment

Comments

@hanbollar
Copy link

hanbollar commented Jan 26, 2023

sort of related to #38 but i checked against that and cmake version and system all seem to be fine


right now works on linux just not on windows (running in a github action)

cmake --version: 3.21.3

debug prints:

running: "git" "clone" "https://github.com/Perlmint/glew-cmake.git" "--recursive" "--branch" "glew-cmake-2.2.0" "D:\\a\\engine\\engine\\target\\_deps\\glew"
current_dir: "D:\\a\\engine\\engine\\target\\_deps\\glew\\build"
running: "cmake" "D:\\a\\engine\\engine\\target\\_deps\\glew" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:\\a\\engine\\engine\\target\\_deps\\glew\\build\\install" "-Dglew-cmake_BUILD_SHARED=NO" "-DPKG_CONFIG_REPRESENTATIVE_TARGET=libglew_static" "-A" "x64"

actual error from command line:

CMake Error at GeneratePkgConfig.cmake:61 (install):
    install FILES given no DESTINATION!
Call Stack (most recent call first):
    CMakeLists.txt:129 (GeneratePkgConfigFile)

should i be calling the command differently between windows and linux?

thanks in advance @Perlmint ~

@hanbollar
Copy link
Author

fixed by running as

running: "cmake" "D:\\a\\engine\\engine\\target\\_deps\\glew" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:\\a\\engine\\engine\\target\\_deps\\glew\\build\\install" "-A" "x64"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant