mirror of
https://github.com/fancycode/MemoryModule
synced 2026-06-06 15:44:28 +00:00
Merge pull request #84 from ianhbell/patch-1
Make .h file accessible to superprojects
This commit is contained in:
@@ -49,6 +49,7 @@ else ()
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
add_library (MemoryModule STATIC MemoryModule.c MemoryModule.h)
|
add_library (MemoryModule STATIC MemoryModule.c MemoryModule.h)
|
||||||
|
target_include_directories(MemoryModule PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||||
if (NOT MSVC)
|
if (NOT MSVC)
|
||||||
set_target_properties ("MemoryModule" PROPERTIES PREFIX "")
|
set_target_properties ("MemoryModule" PROPERTIES PREFIX "")
|
||||||
endif ()
|
endif ()
|
||||||
|
|||||||
Reference in New Issue
Block a user