To compile for linux

This commit is contained in:
lsv 2025-11-11 10:29:27 +05:00
parent ffeda8c9b6
commit 87cd59693e
3 changed files with 7 additions and 2 deletions

View file

@ -79,6 +79,7 @@ file(GLOB_RECURSE SOURCES
##########################################################
add_executable(${PROJECT_NAME} )
target_compile_definitions(${PROJECT_NAME} PRIVATE $<$<CONFIG:Debug>:_DEBUG>)
target_sources(${PROJECT_NAME} PUBLIC pgAdmin3.cpp ${SOURCES})
if(CROSS_COMPILE STREQUAL "Windows")
ENABLE_LANGUAGE(RC)