Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:linkedprojecttest
mingw32-gl2ps
0001-dont-force-empty-prefix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-dont-force-empty-prefix.patch of Package mingw32-gl2ps
From b92efdf95a8cf59f2eb78bd3319592f51488b765 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 13 Sep 2018 20:23:39 +0200 Subject: [PATCH] don't force empty prefix/suffix + .lib for import lib on Windows (fix #24) (but keep a note on the trick to rename the import lib "a la MSVC" even on mingw for future reference) --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f59b51..66f6379 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -139,8 +139,10 @@ if(OPENGL_FOUND) VERSION ${GL2PS_MAJOR_VERSION}.${GL2PS_MINOR_VERSION}.${GL2PS_PATCH_VERSION} SOVERSION ${GL2PS_MAJOR_VERSION}.${GL2PS_MINOR_VERSION}) if(WIN32 OR CYGWIN) - set_target_properties(shared PROPERTIES PREFIX "" IMPORT_PREFIX "" - IMPORT_SUFFIX ".lib" COMPILE_FLAGS "-DGL2PSDLL -DGL2PSDLL_EXPORTS") + # set_target_properties(shared PROPERTIES PREFIX "" IMPORT_PREFIX "" + # IMPORT_SUFFIX ".lib" COMPILE_FLAGS "-DGL2PSDLL -DGL2PSDLL_EXPORTS") + set_target_properties(shared PROPERTIES + COMPILE_FLAGS "-DGL2PSDLL -DGL2PSDLL_EXPORTS") endif(WIN32 OR CYGWIN) install(TARGETS lib shared RUNTIME DESTINATION bin LIBRARY DESTINATION lib${LIB_SUFFIX} -- 2.18.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor