diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-11-25 11:27:56 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-11-25 11:27:56 +0100 |
commit | 2c843c5bb9dd142eec5660bbc27067c769e0efb8 (patch) | |
tree | 80e1c2d96c57764125d2c209d4f6d49f0725396f /src/CMakeLists.txt | |
parent | 20d3b8ec4826a83e1bb135dc87293ceb50ed65d4 (diff) | |
parent | 463ab0d2b9bcf77b21d0404b84b4c7ae297596de (diff) | |
download | ayatana-indicator-datetime-2c843c5bb9dd142eec5660bbc27067c769e0efb8.tar.gz ayatana-indicator-datetime-2c843c5bb9dd142eec5660bbc27067c769e0efb8.tar.bz2 ayatana-indicator-datetime-2c843c5bb9dd142eec5660bbc27067c769e0efb8.zip |
Merge branch 'tari01-pr/drop-std-version'
Attributes GH PR #80: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/80
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6132dfc..9cde5fe 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -57,9 +57,9 @@ endif() # add warnings/coverage info on handwritten files # but not the autogenerated ones... set_source_files_properties(${SERVICE_CXX_SOURCES} - PROPERTIES COMPILE_FLAGS "${COMPILE_FLAGS} -std=c++11") + PROPERTIES COMPILE_FLAGS ${COMPILE_FLAGS}) set_source_files_properties(${SERVICE_C_SOURCES} - PROPERTIES COMPILE_FLAGS "${COMPILE_FLAGS} -std=c99") + PROPERTIES COMPILE_FLAGS ${COMPILE_FLAGS}) # add the bin dir to our include path so our code can find the generated header files include_directories (${CMAKE_CURRENT_BINARY_DIR}) @@ -69,6 +69,6 @@ include_directories (${CMAKE_SOURCE_DIR}) link_directories (${SERVICE_DEPS_LIBRARY_DIRS}) add_executable (${SERVICE_EXEC} main.cpp) -set_source_files_properties(${SERVICE_SOURCES} main.cpp PROPERTIES COMPILE_FLAGS "${COMPILE_FLAGS} -std=c++11") +set_source_files_properties(${SERVICE_SOURCES} main.cpp PROPERTIES COMPILE_FLAGS ${COMPILE_FLAGS}) target_link_libraries (${SERVICE_EXEC} ${SERVICE_LIB} ${SERVICE_DEPS_LIBRARIES} ${URLDISPATCHER_LIBRARIES}) install (TARGETS ${SERVICE_EXEC} RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_PKGLIBEXECDIR}) |