From d4b7b16d1d50450d5989049412241162e6bbf38b Mon Sep 17 00:00:00 2001 From: Anthony Islas Date: Thu, 1 Aug 2024 17:28:41 -0700 Subject: [PATCH] Ensure lower compilation targets get all flags --- chem/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chem/CMakeLists.txt b/chem/CMakeLists.txt index c9c6cc659f..8c329a1397 100644 --- a/chem/CMakeLists.txt +++ b/chem/CMakeLists.txt @@ -5,6 +5,8 @@ target_include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ) if ( ${ENABLE_KPP} ) + add_compile_options ( "${PROJECT_COMPILE_OPTIONS}" ) + add_compile_definitions( "${PROJECT_COMPILE_DEFINITIONS}" ) add_subdirectory( KPP ) endif()