Skip to content

Commit e4c1b35

Browse files
authored
Merge pull request #84 from ianhbell/patch-1
Make .h file accessible to superprojects
2 parents e039372 + a15e076 commit e4c1b35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ else ()
4949
endif ()
5050

5151
add_library (MemoryModule STATIC MemoryModule.c MemoryModule.h)
52+
target_include_directories(MemoryModule PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
5253
if (NOT MSVC)
5354
set_target_properties ("MemoryModule" PROPERTIES PREFIX "")
5455
endif ()

0 commit comments

Comments
 (0)