From adb8f1fcf0172c4c4299703efea1d0744d03b5e7 Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 30 Sep 2021 10:48:15 +0200 Subject: Added Opcode to cmake tree --- nGenEx/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'nGenEx') diff --git a/nGenEx/CMakeLists.txt b/nGenEx/CMakeLists.txt index fe54396..a73d239 100644 --- a/nGenEx/CMakeLists.txt +++ b/nGenEx/CMakeLists.txt @@ -80,6 +80,11 @@ target_include_directories( nGenEx PUBLIC . PUBLIC $ENV{DXSDK_DIR}/Include + PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../Opcode/OpcodeLib # FIXME: Opcode is badly injured. + ) +target_precompile_headers( + nGenEx + PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../Opcode/OpcodeLib/StdAfx.h ) target_link_libraries( nGenEx @@ -90,5 +95,5 @@ target_link_libraries( PUBLIC Vorbis::vorbisfile PUBLIC Ogg::ogg PUBLIC Png::png - # TODO: PUBLIC Opcode::opcode + PUBLIC Opcode ) -- cgit v1.1