17 lines
270 B
CMake
17 lines
270 B
CMake
add_library(Enable STATIC
|
|
Enable.c
|
|
)
|
|
|
|
target_include_directories(Enable PUBLIC
|
|
${CMAKE_CURRENT_LIST_DIR}
|
|
)
|
|
|
|
if(UNIT_TESTING)
|
|
target_link_libraries(Enable
|
|
MockRegEdit
|
|
)
|
|
else()
|
|
target_link_libraries(Enable
|
|
RegEdit
|
|
)
|
|
endif()
|