Desperately trying to fix CMake config by simply commenting the line which causes an error
Andreas Tille
5 years ago
0 | Author: Andreas Tille <tille@debian.org> | |
1 | Last-Update: Mon, 03 Dec 2018 16:11:35 +0100 | |
2 | Description: Desperately trying to fix CMake config by simply | |
3 | commenting the line which causes an error | |
4 | ||
5 | --- a/src/bindings/r/CMakeLists.txt | |
6 | +++ b/src/bindings/r/CMakeLists.txt | |
7 | @@ -336,7 +336,12 @@ configure_file ( | |
8 | "${CMAKE_CURRENT_BINARY_DIR}/libSBML/NAMESPACE" | |
9 | ) | |
10 | ||
11 | -get_target_property(LIBSBML_R_NATIVELIB binding_r_lib LOCATION) | |
12 | +# get_target_property(LIBSBML_R_NATIVELIB binding_r_lib LOCATION) | |
13 | +# Commented since it leads to | |
14 | +#CMake Error at src/bindings/r/CMakeLists.txt:339 (get_target_property): | |
15 | +# The LOCATION property may not be read from target "binding_r_lib". Use the | |
16 | +# target name directly with add_custom_command, or use the generator | |
17 | +# expression $<TARGET_FILE>, as appropriate. | |
18 | ||
19 | if (APPLE AND ENABLE_UNIVERSAL) | |
20 |