File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ set(BINARY_NAME "quantus_miner")
99# https://wiki.gnome.org/HowDoI/ChooseApplicationID
1010set (APPLICATION_ID "com.example.quantus_miner" )
1111
12+ # Add preprocessor definitions for the application ID.
13+ add_definitions (-DAPPLICATION_ID= "${APPLICATION_ID} " )
14+
1215# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
1316# versions of CMake.
1417cmake_policy (SET CMP0063 NEW )
Original file line number Diff line number Diff line change @@ -16,9 +16,6 @@ add_executable(${BINARY_NAME}
1616# that need different build settings.
1717apply_standard_settings (${BINARY_NAME} )
1818
19- # Add preprocessor definitions for the application ID.
20- add_definitions (-DAPPLICATION_ID= "${APPLICATION_ID} " )
21-
2219# Add dependency libraries. Add any application-specific dependencies here.
2320target_link_libraries (${BINARY_NAME} PRIVATE flutter )
2421target_link_libraries (${BINARY_NAME} PRIVATE PkgConfig::GTK )
You can’t perform that action at this time.
0 commit comments