From 4b3b9351d02c2c6b1b3704b92a0cf166c238762c Mon Sep 17 00:00:00 2001 From: bebopagogo Date: Sat, 6 Jun 2020 12:45:20 -0400 Subject: [PATCH] commented out inclusion of unix and win32 'post process' source file inclusion as that is not intended to be part of the NORM library --- CMakeLists.txt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 493605a..1f5f885 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -74,13 +74,14 @@ list(APPEND COMMON_SOURCE_FILES list(APPEND INCLUDE_DIRS ${CMAKE_CURRENT_LIST_DIR}/include ) # Setup platform dependent libraries, defines, source file and compiler flags -if(MSVC) - list(APPEND PLATFORM_LIBS Shell32) - list(APPEND PLATFORM_DEFINITIONS _CONSOLE) - list(APPEND PLATFORM_SOURCE_FILES src/win32/win32PostProcess.cpp) -elseif(UNIX) - list(APPEND PLATFORM_SOURCE_FILES src/unix/unixPostProcess.cpp) -endif() +# (The "post processing" helper source is only needed for normApp build) +#if(MSVC) +# list(APPEND PLATFORM_LIBS Shell32) +# list(APPEND PLATFORM_DEFINITIONS _CONSOLE) +# list(APPEND PLATFORM_SOURCE_FILES src/win32/win32PostProcess.cpp) +#elseif(UNIX) +# list(APPEND PLATFORM_SOURCE_FILES src/unix/unixPostProcess.cpp) +#endif() include(GNUInstallDirs)