Skip to content

Commit

Permalink
feat: require c++ 17 (needed by modern CEF) #1478
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Oct 19, 2023
1 parent bdcd3fd commit 57f29cc
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/accelerator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ bin2c("ogl/image/shader.vert" "ogl_image_vertex.h" "caspar::accelerator::ogl" "v
bin2c("ogl/image/shader.frag" "ogl_image_fragment.h" "caspar::accelerator::ogl" "fragment_shader")

add_library(accelerator ${SOURCES} ${HEADERS} ${WIN32_SPECIFIC_SOURCES} ${WIN32_SPECIFIC_HEADERS})
target_compile_features(accelerator PRIVATE cxx_std_14)
target_compile_features(accelerator PRIVATE cxx_std_17)
target_include_directories(accelerator PRIVATE
..
${CMAKE_CURRENT_BINARY_DIR}
Expand Down
2 changes: 1 addition & 1 deletion src/common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ set(HEADERS
)

add_library(common ${SOURCES} ${HEADERS} ${OS_SPECIFIC_SOURCES})
target_compile_features(common PRIVATE cxx_std_14)
target_compile_features(common PRIVATE cxx_std_17)
target_include_directories(common PRIVATE
..
${BOOST_INCLUDE_PATH}
Expand Down
2 changes: 1 addition & 1 deletion src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ set(HEADERS
)

add_library(core ${SOURCES} ${HEADERS})
target_compile_features(core PRIVATE cxx_std_14)
target_compile_features(core PRIVATE cxx_std_17)
target_include_directories(core PRIVATE
..
${BOOST_INCLUDE_PATH}
Expand Down
2 changes: 1 addition & 1 deletion src/modules/artnet/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ set(HEADERS
util/fixture_calculation.cpp util/fixture_calculation.h)

add_library(artnet ${SOURCES} ${HEADERS})
target_compile_features(artnet PRIVATE cxx_std_14)
target_compile_features(artnet PRIVATE cxx_std_17)
target_include_directories(artnet PRIVATE
..
../..
Expand Down
2 changes: 1 addition & 1 deletion src/modules/bluefish/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ set(HEADERS
)

add_library(bluefish ${SOURCES} ${HEADERS})
target_compile_features(bluefish PRIVATE cxx_std_14)
target_compile_features(bluefish PRIVATE cxx_std_17)
target_include_directories(bluefish PRIVATE
..
../..
Expand Down
2 changes: 1 addition & 1 deletion src/modules/decklink/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ else()
endif ()

add_library(decklink ${SOURCES} ${HEADERS} ${OS_SPECIFIC_SOURCES})
target_compile_features(decklink PRIVATE cxx_std_14)
target_compile_features(decklink PRIVATE cxx_std_17)
target_include_directories(decklink PRIVATE
..
../..
Expand Down
2 changes: 1 addition & 1 deletion src/modules/ffmpeg/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ set(HEADERS
)

add_library(ffmpeg ${SOURCES} ${HEADERS})
target_compile_features(ffmpeg PRIVATE cxx_std_14)
target_compile_features(ffmpeg PRIVATE cxx_std_17)
target_include_directories(ffmpeg PRIVATE
..
../..
Expand Down
2 changes: 1 addition & 1 deletion src/modules/flash/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ set(HEADERS
)

add_library(flash ${SOURCES} ${HEADERS})
target_compile_features(flash PRIVATE cxx_std_14)
target_compile_features(flash PRIVATE cxx_std_17)
target_include_directories(flash PRIVATE
..
../..
Expand Down
2 changes: 1 addition & 1 deletion src/modules/html/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ set(HEADERS
)

add_library(html ${SOURCES} ${HEADERS})
target_compile_features(html PRIVATE cxx_std_14)
target_compile_features(html PRIVATE cxx_std_17)
target_include_directories(html PRIVATE
..
../..
Expand Down
2 changes: 1 addition & 1 deletion src/modules/image/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ set(HEADERS
)

add_library(image ${SOURCES} ${HEADERS})
target_compile_features(image PRIVATE cxx_std_14)
target_compile_features(image PRIVATE cxx_std_17)
target_include_directories(image PRIVATE
..
../..
Expand Down
2 changes: 1 addition & 1 deletion src/modules/newtek/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if (MSVC)
endif()

add_library(newtek ${SOURCES} ${HEADERS})
target_compile_features(newtek PRIVATE cxx_std_14)
target_compile_features(newtek PRIVATE cxx_std_17)
target_include_directories(newtek PRIVATE
..
../..
Expand Down
2 changes: 1 addition & 1 deletion src/modules/oal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ set(HEADERS
)

add_library(oal ${SOURCES} ${HEADERS})
target_compile_features(oal PRIVATE cxx_std_14)
target_compile_features(oal PRIVATE cxx_std_17)
target_include_directories(oal PRIVATE
..
../..
Expand Down
2 changes: 1 addition & 1 deletion src/modules/screen/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ else ()
endif ()

add_library(screen ${SOURCES} ${OS_SPECIFIC_SOURCES} ${HEADERS} ${OS_SPECIFIC_HEADERS})
target_compile_features(screen PRIVATE cxx_std_14)
target_compile_features(screen PRIVATE cxx_std_17)
target_include_directories(screen PRIVATE
..
../..
Expand Down
2 changes: 1 addition & 1 deletion src/protocol/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ set(HEADERS
)

add_library(protocol ${SOURCES} ${HEADERS})
target_compile_features(protocol PRIVATE cxx_std_14)
target_compile_features(protocol PRIVATE cxx_std_17)
target_include_directories(protocol PRIVATE
..
${BOOST_INCLUDE_PATH}
Expand Down
2 changes: 1 addition & 1 deletion src/shell/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ set(HEADERS
)

add_executable(casparcg ${SOURCES} ${HEADERS} ${OS_SPECIFIC_SOURCES})
target_compile_features(casparcg PRIVATE cxx_std_14)
target_compile_features(casparcg PRIVATE cxx_std_17)
target_include_directories(casparcg PRIVATE
..
${BOOST_INCLUDE_PATH}
Expand Down
2 changes: 1 addition & 1 deletion src/tools/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required (VERSION 3.16)

add_executable(bin2c bin2c.cpp)
target_compile_features(bin2c PRIVATE cxx_std_14)
target_compile_features(bin2c PRIVATE cxx_std_17)

target_include_directories(bin2c PRIVATE ..)

Expand Down

0 comments on commit 57f29cc

Please # to comment.