File tree 4 files changed +7
-6
lines changed
main/resources-precompiled/natives/osx_64
4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -126,10 +126,6 @@ elseif(FORCE_M64)
126
126
# Build 64-bit binary on Linux
127
127
set_target_properties (jssc PROPERTIES COMPILE_FLAGS -m64 LINK_FLAGS -m64)
128
128
endif ()
129
- # Copy native library back to source tree
130
- add_custom_command (TARGET jssc POST_BUILD
131
- COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_BINARY_DIR} /natives/ ${CMAKE_CURRENT_SOURCE_DIR} /src/main/resources-precompiled/natives/
132
- )
133
129
134
130
# Call strip on non-debug builds
135
131
if (CMAKE_STRIP AND NOT CMAKE_BUILD_TYPE MATCHES "Deb" )
@@ -139,6 +135,11 @@ if(CMAKE_STRIP AND NOT CMAKE_BUILD_TYPE MATCHES "Deb")
139
135
add_custom_command (TARGET jssc POST_BUILD COMMAND "${CMAKE_STRIP} " ${STRIP_ARGS} $<TARGET_FILE:jssc>)
140
136
endif ()
141
137
138
+ # Copy native library back to source tree
139
+ add_custom_command (TARGET jssc POST_BUILD
140
+ COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_BINARY_DIR} /natives/ ${CMAKE_CURRENT_SOURCE_DIR} /src/main/resources-precompiled/natives/
141
+ )
142
+
142
143
# Handle compiler warnings
143
144
if (MSVC )
144
145
#TODO Treat warnings as errors /WX
Original file line number Diff line number Diff line change 6
6
7
7
<groupId >io.github.java-native.jssc</groupId >
8
8
<artifactId >jssc</artifactId >
9
- <version >2.9.0 </version >
9
+ <version >2.9.1 </version >
10
10
11
11
<properties >
12
12
<java .version>1.6</java .version>
Original file line number Diff line number Diff line change 35
35
public class SerialNativeInterface {
36
36
37
37
private static final String libVersion = "2.9" ;
38
- private static final String libMinorSuffix = "0 " ; //since 0.9.0
38
+ private static final String libMinorSuffix = "1 " ; //since 0.9.0
39
39
40
40
public static final int OS_LINUX = 0 ;
41
41
public static final int OS_WINDOWS = 1 ;
You can’t perform that action at this time.
0 commit comments