Skip to content

Commit e2e9799

Browse files
committed
兼容高版本cmake的编译
1 parent 24347ea commit e2e9799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unity/native/papi-lua/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# http://opensource.org/licenses/MIT
55
# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
66

7-
cmake_minimum_required(VERSION 2.8)
7+
cmake_minimum_required(VERSION 3.9)
88

99
if ( WIN32 AND NOT CYGWIN AND NOT ( CMAKE_SYSTEM_NAME STREQUAL "WindowsStore" ) AND NOT ANDROID)
1010
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /MT" CACHE STRING "")

0 commit comments

Comments
 (0)