diff --git a/CMakeLists.txt b/CMakeLists.txt index b1b255e6979c1055230ab2c83c3b31a3933da43a..8da6cce3dd5b6c53ec0a1919daff9d72737e5020 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,9 +28,10 @@ endif() # Add qpong lib for core qpong functionality add_subdirectory(qpong_core) +include_directories(qpong_core) # Dear ImGui based application -add_subdirectory(imgui_app) +# add_subdirectory(imgui_app) # Add dir with gtk qpong app add_subdirectory(gtk_qpong_app) diff --git a/gtk_qpong_app/CMakeLists.txt b/gtk_qpong_app/CMakeLists.txt index 3da7cc6c1521113eccc2bd682c948659ca6fbef2..323388629763fdf599c86717a82c18f18141f361 100644 --- a/gtk_qpong_app/CMakeLists.txt +++ b/gtk_qpong_app/CMakeLists.txt @@ -6,7 +6,7 @@ link_directories(${GTKMM_LIBRARY_DIRS}) # get all GTKMM dependencies and configuration include_directories(${GTKMM_INCLUDE_DIRS}) -include_directories(../qpong_core) +# include_directories(../qpong_core) # create the application add_executable( qpong.app @@ -16,11 +16,15 @@ add_executable( qpong.app ParticleImage.cpp ) +find_package(Threads) + # link all necessary libs to the target target_link_libraries( qpong.app qpong_core + ${CMAKE_THREAD_LIBS_INIT} ${GTKMM_LIBRARIES} fftw3 + fftw3_omp m # math ) diff --git a/qpong_core/CMakeLists.txt b/qpong_core/CMakeLists.txt index 01180fbdd22189e4630ef3c2fc8af3d08eab0970..a5ab638a2d447c5e2578bd18bd557724fc289ffb 100644 --- a/qpong_core/CMakeLists.txt +++ b/qpong_core/CMakeLists.txt @@ -7,12 +7,12 @@ add_library( Player.cpp ) -find_package(Threads) +# find_package(Threads) -target_link_libraries( - qpong_core - ${CMAKE_THREAD_LIBS_INIT} - fftw3 - fftw3_omp - m -) \ No newline at end of file +# target_link_libraries( +# qpong_core +# ${CMAKE_THREAD_LIBS_INIT} +# fftw3 +# fftw3_omp +# m +# ) \ No newline at end of file