23 lines
1.0 KiB
Diff
23 lines
1.0 KiB
Diff
--- csfml/cmake/Config.cmake.orig 2014-05-22 12:05:19.717000000 +0400
|
|
+++ csfml/cmake/Config.cmake 2014-05-22 12:12:58.926200000 +0400
|
|
@@ -109,7 +109,7 @@
|
|
|
|
# define the install directory for miscellaneous files
|
|
if(SFML_OS_WINDOWS)
|
|
- set(INSTALL_MISC_DIR .)
|
|
+ set(INSTALL_MISC_DIR share/CSFML)
|
|
elseif(SFML_OS_LINUX OR SFML_OS_FREEBSD OR SFML_OS_MACOSX)
|
|
set(INSTALL_MISC_DIR share/CSFML)
|
|
endif()
|
|
--- csfml/cmake/Macros.cmake.orig 2014-05-22 12:05:19.717000000 +0400
|
|
+++ csfml/cmake/Macros.cmake 2014-05-22 12:14:36.733400000 +0400
|
|
@@ -31,7 +31,7 @@
|
|
# on Windows/gcc get rid of "lib" prefix for shared libraries,
|
|
# and transform the ".dll.a" suffix into ".a" for import libraries
|
|
set_target_properties(${target} PROPERTIES PREFIX "")
|
|
- set_target_properties(${target} PROPERTIES IMPORT_SUFFIX ".a")
|
|
+ set_target_properties(${target} PROPERTIES IMPORT_SUFFIX ".dll.a")
|
|
endif()
|
|
|
|
# set the version and soversion of the target (for compatible systems -- mostly Linuxes)
|