kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
Fixed bad cmake command
rodzic
1ba3756be0
commit
3d65e515ad
|
@ -12,15 +12,15 @@ else ()
|
||||||
endif ()
|
endif ()
|
||||||
add_definitions(-DSDRPP_IS_CORE)
|
add_definitions(-DSDRPP_IS_CORE)
|
||||||
|
|
||||||
# Set the install prefix
|
|
||||||
add_compile_definitions(INSTALL_PREFIX="${CMAKE_INSTALL_PREFIX}")
|
|
||||||
|
|
||||||
# Main code
|
# Main code
|
||||||
file(GLOB_RECURSE SRC "src/*.cpp" "src/*.c")
|
file(GLOB_RECURSE SRC "src/*.cpp" "src/*.c")
|
||||||
|
|
||||||
# Add code to dyn lib
|
# Add code to dyn lib
|
||||||
add_library(sdrpp_core SHARED ${SRC})
|
add_library(sdrpp_core SHARED ${SRC})
|
||||||
|
|
||||||
|
# Set the install prefix
|
||||||
|
target_compile_definitions(sdrpp_core PUBLIC INSTALL_PREFIX="${CMAKE_INSTALL_PREFIX}")
|
||||||
|
|
||||||
# Include core headers
|
# Include core headers
|
||||||
target_include_directories(sdrpp_core PUBLIC "src/")
|
target_include_directories(sdrpp_core PUBLIC "src/")
|
||||||
target_include_directories(sdrpp_core PUBLIC "src/imgui")
|
target_include_directories(sdrpp_core PUBLIC "src/imgui")
|
||||||
|
|
Ładowanie…
Reference in New Issue