Commit 65b948e 1 parent 5368a47 commit 65b948e Copy full SHA for 65b948e
File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,9 @@ add_subdirectory(src)
145
145
146
146
set (pkg_conf_file_in "${CMAKE_CURRENT_SOURCE_DIR} /fcl.pc.in" )
147
147
set (pkg_conf_file_out "${CMAKE_CURRENT_BINARY_DIR} /fcl.pc" )
148
+ if (NOT MSVC )
149
+ set (PKG_CFLAGS "-std=c++11" )
150
+ endif ()
148
151
configure_file ("${pkg_conf_file_in} " "${pkg_conf_file_out} " @ONLY)
149
152
150
153
install (DIRECTORY include / DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
Original file line number Diff line number Diff line change 1
1
# set the version in a way CMake can use
2
2
set (FCL_MAJOR_VERSION 0)
3
- set (FCL_MINOR_VERSION 4 )
3
+ set (FCL_MINOR_VERSION 5 )
4
4
set (FCL_PATCH_VERSION 0)
5
5
set (FCL_VERSION "${FCL_MAJOR_VERSION} .${FCL_MINOR_VERSION} .${FCL_PATCH_VERSION} " )
6
6
7
7
# increment this when we have ABI changes
8
- set (FCL_ABI_VERSION 6 )
8
+ set (FCL_ABI_VERSION 7 )
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ Description: @PKG_DESC@
9
9
Version: @FCL_VERSION@
10
10
Requires: @PKG_EXTERNAL_DEPS@
11
11
Libs: -L${libdir} -lfcl
12
- Cflags: -I${includedir}
12
+ Cflags: @PKG_CFLAGS@ -I${includedir}
You can’t perform that action at this time.
0 commit comments