Skip to content

Commit

Permalink
Fix compile definition in CMakeLists for static library
Browse files Browse the repository at this point in the history
  • Loading branch information
RealXuChe committed Apr 30, 2024
1 parent fd7e9c3 commit 908029f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ target_link_libraries(nodes

target_compile_definitions(nodes
PUBLIC
$<IF:$<BOOL:BUILD_SHARED_LIBS>, NODE_EDITOR_SHARED, NODE_EDITOR_STATIC>
$<IF:$<BOOL:${BUILD_SHARED_LIBS}>, NODE_EDITOR_SHARED, NODE_EDITOR_STATIC>
PRIVATE
NODE_EDITOR_EXPORTS
#NODE_DEBUG_DRAWING
Expand Down

0 comments on commit 908029f

Please sign in to comment.