We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cba4b6 commit 96eb811Copy full SHA for 96eb811
cpp/pypowsybl-java/CMakeLists.txt
@@ -44,8 +44,8 @@ macro(extract_and_install_native_lib jar_file jar_entry library_file)
44
endif()
45
endmacro()
46
47
-set(math-native-jar ${PYPOWSYBL_JAVA_SRC_DIR}/target/dependency/powsybl-math-native.jar)
48
-set(ortools-jar ${PYPOWSYBL_JAVA_SRC_DIR}/target/dependency/ortools-${CMAKE_SYSTEM_NAME}-${ARCH_ID}.jar)
+cmake_path(SET math-native-jar "${PYPOWSYBL_JAVA_SRC_DIR}/target/dependency/powsybl-math-native.jar")
+cmake_path(SET ortools-jar "${PYPOWSYBL_JAVA_SRC_DIR}/target/dependency/ortools-${CMAKE_SYSTEM_NAME}-${ARCH_ID}.jar")
49
50
if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
51
extract_and_install_native_lib(${math-native-jar} natives/windows_${OS_BITS} math.dll)
0 commit comments