Thas else() in paths.cmake did not make sense. Hopefully this fixes Fedora build issues
authorWuzzy <Wuzzy2@mail.ru>
Tue, 20 Nov 2018 00:09:35 +0100
changeset 14253 084af6d2685f
parent 14252 bdc7ba72bbad
child 14254 9f4d75fa4a2c
Thas else() in paths.cmake did not make sense. Hopefully this fixes Fedora build issues
cmake_modules/paths.cmake
--- a/cmake_modules/paths.cmake	Mon Nov 19 23:27:36 2018 +0100
+++ b/cmake_modules/paths.cmake	Tue Nov 20 00:09:35 2018 +0100
@@ -60,7 +60,7 @@
     set(CMAKE_INSTALL_RPATH "@executable_path/../Frameworks")
     #install_name_tool for libraries
     set(CMAKE_INSTALL_NAME_DIR "@executable_path/../Frameworks")
-else(APPLE AND NOT (${CMAKE_INSTALL_PREFIX} MATCHES "/usr"))
+elseif(NOT (${CMAKE_INSTALL_PREFIX} MATCHES "/usr"))
     #paths where to find libraries (final slash not optional):
     # - the first is relative to the executable
     # - the second is the same directory of the executable (so it runs in bin/)