Skip to content

Commit

Permalink
Fix unix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Auburn committed Aug 27, 2024
1 parent 0ba4ba6 commit 35b1239
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 3 additions & 1 deletion tools/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
add_subdirectory(NodeEditor)
add_subdirectory(NodeEditor)

set(install_targets ${install_targets} PARENT_SCOPE)
6 changes: 1 addition & 5 deletions tools/NodeEditor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ configure_file("resources/resources.conf" "${CMAKE_CURRENT_BINARY_DIR}/resources
corrade_add_resource(NodeEditor_RESOURCES "${CMAKE_CURRENT_BINARY_DIR}/resources.conf")

add_executable(NodeEditor

"NodeEditorApp.cpp"
"FastNoiseNodeEditor.cpp"
"MeshNoisePreview.cpp"
Expand All @@ -122,7 +121,6 @@ add_executable(NodeEditor

target_link_libraries(NodeEditor PRIVATE
FastNoise
#FastSIMD_FastNoise
Magnum::Application
Magnum::Shaders
Magnum::SceneGraph
Expand Down Expand Up @@ -171,9 +169,7 @@ if (MSVC)
target_compile_definitions(NodeEditor PRIVATE _CRT_SECURE_NO_WARNINGS=1)
endif()

set(install_targets ${install_targets}
NodeEditor
PARENT_SCOPE)
set(install_targets ${install_targets} NodeEditor PARENT_SCOPE)

# Make the executable a default target to build & run in Visual Studio
set_property(DIRECTORY ../.. PROPERTY VS_STARTUP_PROJECT .)

0 comments on commit 35b1239

Please sign in to comment.