Hi,
I’m trying to build SlicerCAT with SlicerJupyter bundled using clean build on WIndows with VS 2022.
Thus xeus
depends on OpenSSL
:
ExternalProject_Add_Dependencies(xeus
DEPENDS
OpenSSL
)
But during xeus
configuration I get:
Performing configure step for 'xeus'
loading initial cache file C:/C/r/slicersources-build/xeus-prefix/tmp/xeus-cache-Release.cmake
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22000.
-- xeus version: v2.3.1
-- xeus binary version: v7.1.1
-- XEUS_DISABLE_ARCH_NATIVE: OFF
-- XEUS_BUILD_SHARED_LIBS: ON
-- XEUS_BUILD_STATIC_LIBS: ON
-- XEUS_STATIC_DEPENDENCIES: OFF
-- XEUS_EMSCRIPTEN_WASM_BUILD: OFF
-- XEUS_BUILD_TESTS: OFF
-- XEUS_EMSCRIPTEN_WASM_TEST_BUILD: OFF
-- tests disabled
-- Configuring done
CMake Error in CMakeLists.txt:
Imported target "OpenSSL::Crypto" includes non-existent path
"C:/C/r/OpenSSL-install/$(Configuration)/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
In xeus
cmakecache OPENSSL_INCLUDE_DIR
is set to C:/C/r/OpenSSL-install/$(Configuration)/include
.
I’m looking at External_OpenSSL.cmake
but still don’t understand why there is rounded brakets in $(Configuration)
It seems it goes from SlicerBlockAdditionalLauncherSettings.cmake
but can’t understand why this is hapenning.