Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -ur ../OpenNL3.2.1.orig/CMakeLists.txt ./CMakeLists.txt
- --- ../OpenNL3.2.1.orig/CMakeLists.txt 2010-09-03 15:39:10.000000000 +0530
- +++ ./CMakeLists.txt 2011-07-12 23:54:27.554586984 +0530
- @@ -22,6 +22,9 @@
- # Project
- ######################################
- PROJECT(OpenNL3)
- +# Add version info
- +SET(OpenNL3_VERSION_MAJOR 3)
- +SET(OpenNL3_VERSION_MINOR 2)
- SET(GEEX_BUILD_PATH ${PROJECT_BINARY_DIR})
- SET(BINARIES_RELATIVE_PATH /binaries/bin/)
- @@ -30,6 +33,8 @@
- SET(LIBRARIES_RELATIVE_PATH /binaries/bin/)
- ELSE(WIN32)
- SET(LIBRARIES_RELATIVE_PATH /binaries/lib/)
- + SET(LIBRARIES_SOVERSION 3.2.1)
- + SET(LIBRARIES_VERSION 3)
- ENDIF(WIN32)
- IF(WIN32)
- Only in ./: opennl-fix-libname.patch
- diff -ur ../OpenNL3.2.1.orig/src/CMakeLists.txt ./src/CMakeLists.txt
- --- ../OpenNL3.2.1.orig/src/CMakeLists.txt 2010-02-08 16:14:22.000000000 +0530
- +++ ./src/CMakeLists.txt 2011-07-12 23:54:25.981581590 +0530
- @@ -31,17 +31,17 @@
- # creation of the library
- IF(USE_CNC)
- IF(WIN32)
- - CUDA_ADD_LIBRARY(nl ${SOURCES} ${HeaderFiles})
- + CUDA_ADD_LIBRARY(opennl ${SOURCES} ${HeaderFiles})
- ELSE(WIN32)
- - CUDA_ADD_LIBRARY(nl ${SOURCES} )
- - set_target_properties(nl PROPERTIES COMPILE_FLAGS "-malign-double")
- + CUDA_ADD_LIBRARY(opennl ${SOURCES} )
- + set_target_properties(opennl PROPERTIES
- + COMPILE_FLAGS "-malign-double"
- + SOVERSION ${LIBRARIES_SOVERSION}
- + )
- ENDIF(WIN32)
- - CUDA_ADD_CUBLAS_TO_TARGET(nl)
- + CUDA_ADD_CUBLAS_TO_TARGET(opennl)
- ELSE(USE_CNC)
- IF(WIN32)
- - ADD_LIBRARY(nl ${SOURCES} ${HeaderFiles})
- + ADD_LIBRARY(opennl ${SOURCES} ${HeaderFiles})
- ELSE(WIN32)
- - ADD_LIBRARY(nl ${SOURCES} )
- + ADD_LIBRARY(opennl ${SOURCES} )
- ENDIF(WIN32)
- ENDIF(USE_CNC)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement