Skip to content

Commit f322751

Browse files
Copilotrdementi
andcommitted
Fix macOS build: add MacMSRDriver include path for numa_to_socket_example
Co-authored-by: rdementi <25432609+rdementi@users.noreply.github.com>
1 parent 11cc76c commit f322751

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,8 @@ if(UNIX)
2424

2525
# numa_to_socket_example
2626
add_executable(numa_to_socket_example numa_to_socket_example.cpp)
27+
if(APPLE)
28+
target_include_directories(numa_to_socket_example PRIVATE "${CMAKE_SOURCE_DIR}/src/MacMSRDriver")
29+
endif()
2730
target_link_libraries(numa_to_socket_example PUBLIC PCM_SHARED PRIVATE Threads::Threads)
2831
endif(UNIX)

0 commit comments

Comments
 (0)