Move and clean up standards
This commit is contained in:
parent
57d9598ab3
commit
26afbcd455
2 changed files with 2 additions and 7 deletions
|
|
@ -1,7 +1,5 @@
|
|||
# Do not override the C++ standard if set to more than 11
|
||||
if (NOT CMAKE_CXX_STANDARD OR CMAKE_CXX_STANDARD LESS 11)
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
endif()
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
|
||||
# Export the compile_commands.json file
|
||||
set (CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
|
|
|||
|
|
@ -3,9 +3,6 @@ set (LV2PLUGIN_PRJ_NAME "${PROJECT_NAME}_lv2")
|
|||
# Set the build directory as <build_dir>/lv2/<plugin_name>.lv2/
|
||||
set (PROJECT_BINARY_DIR "${PROJECT_BINARY_DIR}/${PROJECT_NAME}.lv2")
|
||||
|
||||
# C99 or higher is needed
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
|
||||
# LV2 plugin specific settings
|
||||
include (LV2Config)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue