Pārlūkot izejas kodu

Remove force include as now export header is auto-included once again.

Yao Wei Tjong 姚伟忠 10 gadi atpakaļ
vecāks
revīzija
353ee7f870
1 mainītis faili ar 0 papildinājumiem un 3 dzēšanām
  1. 0 3
      Source/Tools/PackageTool/CMakeLists.txt

+ 0 - 3
Source/Tools/PackageTool/CMakeLists.txt

@@ -83,9 +83,6 @@ if (NOT CMAKE_PROJECT_NAME STREQUAL Urho3D)
         ${BAKED_CMAKE_SOURCE_DIR}/Source/Urho3D/Math/Vector4.cpp
         ${BAKED_CMAKE_SOURCE_DIR}/Source/Urho3D/Math/Vector4.cpp
     )
     )
 
 
-    # MSVC does not do cross-compiling at the moment, so only force include using GCC/Clang approach
-    set_property (SOURCE ${MINI_URHO_CPP_FILES} APPEND_STRING PROPERTY COMPILE_FLAGS " -include Urho3D.h")  # Need a leading space for appending
-
     # Check existence of stdint.h for LibCpuId
     # Check existence of stdint.h for LibCpuId
     include (CheckIncludeFiles)
     include (CheckIncludeFiles)
     CHECK_INCLUDE_FILES (stdint.h HAVE_STDINT_H)
     CHECK_INCLUDE_FILES (stdint.h HAVE_STDINT_H)