This commit is contained in:
2025-11-23 14:22:51 +05:30
parent 536e10d129
commit b24b2082df
2 changed files with 2 additions and 2 deletions

View File

@ -11,6 +11,8 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
project(IACore) project(IACore)
enable_language(C)
# Default to ON if root, OFF if dependency # Default to ON if root, OFF if dependency
option(IACore_BUILD_TESTS "Build unit tests" ${PROJECT_IS_TOP_LEVEL}) option(IACore_BUILD_TESTS "Build unit tests" ${PROJECT_IS_TOP_LEVEL})

View File

@ -3,8 +3,6 @@ set(TEST_NAME_PREFIX "IACore_Test_Unit_")
# ------------------------------------------------ # ------------------------------------------------
# C Compile Test # C Compile Test
# ------------------------------------------------ # ------------------------------------------------
enable_language(C)
add_executable(${TEST_NAME_PREFIX}CCompile "CCompile.c") add_executable(${TEST_NAME_PREFIX}CCompile "CCompile.c")
set_target_properties(${TEST_NAME_PREFIX}CCompile PROPERTIES set_target_properties(${TEST_NAME_PREFIX}CCompile PROPERTIES