mirror of
https://github.com/socketio/socket.io-client-cpp.git
synced 2025-12-05 22:35:51 +00:00
build: fix installation and change build default flags (#372)
* Change default submodules and fix install issue The wrong target was used for installation of targets * Disable flag as we changed the default
This commit is contained in:
parent
973baa3749
commit
dbb4547d31
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -23,4 +23,4 @@ jobs:
|
|||||||
submodule_update: ON
|
submodule_update: ON
|
||||||
run_tests: ON
|
run_tests: ON
|
||||||
unit_test_build: -DBUILD_UNIT_TESTS=ON
|
unit_test_build: -DBUILD_UNIT_TESTS=ON
|
||||||
cmake_args: -DCMAKE_CXX_FLAGS=-std=c++11;-DUSE_SUBMODULES=ON
|
cmake_args: -DCMAKE_CXX_FLAGS=-std=c++11
|
||||||
|
|||||||
@ -6,7 +6,7 @@ PROJECT(sioclient
|
|||||||
|
|
||||||
option(BUILD_SHARED_LIBS "Build the shared library" OFF)
|
option(BUILD_SHARED_LIBS "Build the shared library" OFF)
|
||||||
option(BUILD_UNIT_TESTS "Builds unit tests target" OFF)
|
option(BUILD_UNIT_TESTS "Builds unit tests target" OFF)
|
||||||
option(USE_SUBMODULES "Use source in local submodules instead of system libraries" OFF)
|
option(USE_SUBMODULES "Use source in local submodules instead of system libraries" ON)
|
||||||
|
|
||||||
set(MAJOR 1)
|
set(MAJOR 1)
|
||||||
set(MINOR 6)
|
set(MINOR 6)
|
||||||
@ -158,7 +158,7 @@ install(
|
|||||||
FILES
|
FILES
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/sioclient/sioclientConfig.cmake"
|
"${CMAKE_CURRENT_BINARY_DIR}/sioclient/sioclientConfig.cmake"
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/sioclient/sioclientConfigVersion.cmake"
|
"${CMAKE_CURRENT_BINARY_DIR}/sioclient/sioclientConfigVersion.cmake"
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/sioclient/sioclientConfigTargets.cmake"
|
"${CMAKE_CURRENT_BINARY_DIR}/sioclient/sioclientTargets.cmake"
|
||||||
DESTINATION
|
DESTINATION
|
||||||
${ConfigPackageLocation}
|
${ConfigPackageLocation}
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user