mirror of
https://github.com/RetroShare/RetroShare.git
synced 2026-09-12 19:50:17 +05:00
voip: fix CMake crash by moving target compile definitions after target is declared
This commit is contained in:
parent
04947a0a90
commit
110bdfa850
@ -15,7 +15,6 @@ set(CMAKE_AUTORCC ON)
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
|
||||
# --- Definitions ---
|
||||
add_definitions(-D__STDC_CONSTANT_MACROS)
|
||||
|
||||
# --- Sources ---
|
||||
set(VOIP_SOURCES
|
||||
@ -89,6 +88,8 @@ set_target_properties(VOIP PROPERTIES
|
||||
AUTOUIC_SEARCH_PATHS "${CMAKE_CURRENT_SOURCE_DIR}/gui"
|
||||
)
|
||||
|
||||
target_compile_definitions(VOIP PRIVATE __STDC_CONSTANT_MACROS)
|
||||
|
||||
# --- Links ---
|
||||
|
||||
target_link_libraries(VOIP PRIVATE
|
||||
|
||||
Loading…
Reference in New Issue
Block a user